package com.proposition.exam.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.proposition.commons.model.ExamAcupointAdult;
import com.proposition.commons.model.ExamAcupointPediatric;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 陈玉林
 * @modifiedBy:
 * @date: Create In 15:47 2017/11/3
 * @description:
 */
@Mapper
public interface ExamAcupointAdultMapper extends BaseMapper<ExamAcupointAdult> {

	/**
	 *  获取所有归经
	 */
	List<String> getAllMeridian();

	/**
	 * 获取每个归经所对应的穴位
	 */
	List<ExamAcupointAdult> getAcuListByMeridian(@Param("meridian") String meridian);

	/**
	 * 根据Id 获取成人穴位
	 * @param id
	 * @return
	 */
	ExamAcupointAdult selectExamAcupointAdultById(@Param("id") String id);
}
